<template>
  <div>
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/' }">招生管理</el-breadcrumb-item>
      <el-breadcrumb-item>招生线索</el-breadcrumb-item>
    </el-breadcrumb>

    <el-card class="box-card">
      <el-row :gutter="40">
        <el-col span="15">
          <el-form :inline="true" :model="querytxt" class="demo-form-inline">
            <el-form-item label="学员姓名：">
              <el-input v-model="querytxt.user"></el-input>
            </el-form-item>
            <el-form-item label="学员意向">
              <el-select v-model="querytxt.region" placeholder="请选择">
                <el-option label="请选择" value="请选择"></el-option>
                <el-option label="无" value="无"></el-option>
                <el-option label="意向强" value="意向强"></el-option>
              </el-select>
              <el-button type="danger">查询</el-button>
            </el-form-item>
          </el-form>
        </el-col>
        <el-col span="4">
          <el-button type="primary">添加学员</el-button>
        </el-col>
      </el-row>
      <el-row class="showdata">
        <el-table :data="tableData" style="width: 100%" stripe border>
          <el-table-column prop="id" label="编号"> </el-table-column>
          <el-table-column prop="name" label="姓名"> </el-table-column>
          <el-table-column prop="sex" label="性别"> </el-table-column>
          <el-table-column prop="age" label="年龄"> </el-table-column>
          <el-table-column prop="phone" label="手机号码"> </el-table-column>
          <el-table-column prop="email" label="电子邮件"> </el-table-column>
          <el-table-column prop="school" label="所在院校"> </el-table-column>
          <el-table-column label="操作">
            <template>
              <el-link class="link" type="primary">修改</el-link>
              <el-link class="link" type="danger">删除</el-link>
            </template>
          </el-table-column>
        </el-table>
      </el-row>
    </el-card>
  </div>
</template>
<script>
export default {
  data() {
    return {
      querytxt: "",
      tableData: [
        {
          id: 1001,
          name: "张三",
          sex: "男",
          age: 18,
          phone: 123456789,
          email: 123455,
          school: "社会大学",
        },
      ],
    };
  },
};
</script>
<style lang="less" scoped>
.box-card {
  margin-top: 10px;
}
.link {
  padding: 3px;
}
.showdata{
  margin-top: 10px;
}
</style>>
